package com.king.dao;

import com.king.pojo.User;

import java.util.List;

/**
 * @ClassName: UserDAO
 * @Description: TODO
 * @Author: wangchangyong
 * @Date: 2020/3/28 15:07
 * @Version: 1.0.0
 **/
public interface UserDAO {

    User findById(User user);

    List<User> findAll();

    int insert(User user);

    int deleteById(User user);

    int updateById(User user);

}
